package com.cqut.hfh.ordering.service.Impl;

import com.cqut.hfh.ordering.pojo.FoodUser;
import com.cqut.hfh.ordering.service.ITestService;
import com.cqut.li.mybatisutil.dao.base.Dao;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * @author LJH
 * @date 2019/6/27-8:40
 */
@Service
public class TestServiceImpl implements ITestService {

    @Resource
    private Dao dao;


    @Override
    public void save() {

        FoodUser f = new FoodUser();
        f.setUser_id("116213801");

        dao.save(f);
        int a = 1/0;
    }
}
